package com.bright.ghj.overt.pojo.query;

import com.bright.ghj.common.pojo.query.PageQuery;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @Author hxj
 * @Date 2023/12/22 16:45
 * @Description 基础数据查询对象
 */


@Data
@ApiModel(description= "基础数据查询对象")
public class TableDataQuery extends PageQuery {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "年份", required = true)
    @NotNull(message = "年份不能为空")
    private Integer years;

    @ApiModelProperty(value = "月份")
    private Integer months;

    @ApiModelProperty(value = "日")
    private Integer days;

    @ApiModelProperty(value = "账套号", required = true)
    @NotNull(message = "账套号不能为空")
    private String ztId;

    @ApiModelProperty(value = "表名", required = true)
    @NotNull(message = "表名不能为空")
    private String tableName;

    @ApiModelProperty(value = "公开表唯一编号")
    private String sno;

//    @ApiModelProperty(value = "open表id")
//    private Integer id;

    @ApiModelProperty(value = "mainModal表id", required = true)
    @NotNull(message = "mainModalId不能为空")
    private Integer mainModalId;

    private String distNo;
    private List<String> userDistNo;


}
